import { TableConfig } from 'ikun-pro-ui/dist/components/common-table/src/interface'

/**
 * 初始化tableConfig
 */
export class TableConfigInit<T> {
	getDefaultConfig(): TableConfig<T> {
		return {
			total: 0,
			data: [],
			showSort: true,
			columns: [],
			showPage: true,
			pagination: {
				currentPage: 1,
				pageSize: 10
			}
		}
	}
}
